package com.ruoyi.web.controller.domain;

import lombok.Data;

import java.util.List;

@Data
public class FranchiserDataResponse {
    private int code;
    private String msg;

    private FranchiserListData data;

    @Data
    public static class FranchiserData {
        private String contact;         // 分销商联系方式
        private int franchiserId;       // 分销商id
        private int lv;                 // 分销商级别
        private String name;            // 分销商昵称
        private int agentUpline;        // 4级分销商对应的2级上线
    }

    @Data
    public static class FranchiserListData {
        private long num;
        private List<FranchiserData> infos;
    }
}
